Police apologize, High Court dismisses case against them for posing with the accused